cssanimation: Compute progress correctly
authorBenjamin Otte <otte@redhat.com>
Tue, 8 Mar 2016 04:01:33 +0000 (05:01 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 11 Mar 2016 15:39:34 +0000 (16:39 +0100)
commitb7285592f968dfff78a683ad6a82955448c77bd6
tree1779e4827f54cd958d70d68205cad593252f3020
parentfc7335bdb4c1bed38b7287354d348af949c20ace
cssanimation: Compute progress correctly

We were computing the wrong progress, in particular when the iteration
count was non-integer.

Test included.
gtk/gtkcssanimation.c
testsuite/reftests/Makefile.am
testsuite/reftests/animation-fill-mode-iteration-count.css [new file with mode: 0644]
testsuite/reftests/animation-fill-mode-iteration-count.ref.ui [new file with mode: 0644]
testsuite/reftests/animation-fill-mode-iteration-count.ui [new file with mode: 0644]